package com.lanyun.aicorrectassistant.convert;

import com.lanyun.aicorrectassistant.basic.entity.AssignmentTemplates;
import com.lanyun.aicorrectassistant.controller.admin.assignmentTemplates.vo.AssignmentTemplatesRequestPageVO;
import com.lanyun.aicorrectassistant.controller.admin.assignmentTemplates.vo.AssignmentTemplatesRequestVO;
import com.lanyun.aicorrectassistant.controller.admin.assignmentTemplates.vo.AssignmentTemplatesResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 作业模板表转换器
 * @author makejava
 * @version 1.0
 * @date 2025-05-12 01:52:18
 */
@Mapper
public interface AssignmentTemplatesConvert {

    AssignmentTemplatesConvert INSTANCE = Mappers.getMapper(AssignmentTemplatesConvert.class);

    AssignmentTemplates convert(AssignmentTemplatesResponseVO responseVO);

    AssignmentTemplates convert(AssignmentTemplatesRequestVO requestVO);

    AssignmentTemplates convert(AssignmentTemplatesRequestPageVO requestPageVO);

    AssignmentTemplatesResponseVO convert(AssignmentTemplates entity);

    List<AssignmentTemplatesResponseVO> convertEntityToRespList(List<AssignmentTemplates> entities);
}
